package com.itjin.health.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itjin.health.domain.entity.AvailableSlot;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AvailableSlotMapper extends BaseMapper<AvailableSlot> {

  /**
   * 查询指定年份和周的可用时间段
   */
  List<AvailableSlot> selectByYearAndWeek(@Param("year") Integer year,
      @Param("week") Integer week,
      @Param("assessmentType") String assessmentType);
}